package reesoft.idgenerator.entity;

import reesoft.common.entity.BaseEntity;

import java.util.Date;

/**
 * 序号信息类
 *
 * Created by reesoft on 2017-08-28
 */
public class IdInfo extends BaseEntity
{
    /**
     * 序号的唯一标识
     */
    private Long idInfoId;

    /**
     * 序号的名称
     */
    private String name;

    /**
     * 描述
     */
    private String description;

    /**
     * 初始值
     */
    private Long initValue;

    /**
     * 最大值
     */
    private Long maxValue;

    /**
     * 当前值
     */
    private Long currentValue;

    /**
     * 最后更新时间
     */
    private Date lastUpdate;

    public Long getIdInfoId()
    {
        return idInfoId;
    }

    public void setIdInfoId(Long idInfoId)
    {
        this.idInfoId = idInfoId;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getDescription()
    {
        return description;
    }

    public void setDescription(String description)
    {
        this.description = description;
    }

    public Long getInitValue()
    {
        return initValue;
    }

    public void setInitValue(Long initValue)
    {
        this.initValue = initValue;
    }

    public Long getMaxValue()
    {
        return maxValue;
    }

    public void setMaxValue(Long maxValue)
    {
        this.maxValue = maxValue;
    }

    public Long getCurrentValue()
    {
        return currentValue;
    }

    public void setCurrentValue(Long currentValue)
    {
        this.currentValue = currentValue;
    }

    public Date getLastUpdate()
    {
        return lastUpdate;
    }

    public void setLastUpdate(Date lastUpdate)
    {
        this.lastUpdate = lastUpdate;
    }
}
